package com.fanghuaiming.ml.common.model.enumeration;

/****
 * @description: 支付状态枚举
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2020/12/1 下午4:48
 *
 */
public enum PayStatusEnum {

    /**
     * 成功
     */
    NO_SEND(0, "未发送"),

    /**
     * 异常
     */
    SEND(1, "已发送"),

    /**
     * 未知
     */
    ERROR(2, "最终失败");

    /**
     * 状态
     */
    Integer code;

    /**
     * 状态信息
     */
    String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    PayStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
